package com.sxapp.entity;

public class User {
	public String id;//uuid生成
	public String uid;
	public String name;
	public String _password;//默认123456：pbkdf2:sha256:50000$3h4COj7g$88da273e403706f3030d78f13730ce633704836b67a7bbbb6a48d239ab01d4eb
	public String phone;
	public String email;
	public String signature;//简介
	public String tag;//TEACHER or STUDENT
	public User() {
		
	}
	public User(String id, String uid, String name, String _password, String phone, String email, String signature,
			String tag) {
		super();
		this.id = id;
		this.uid = uid;
		this.name = name;
		this._password = _password;
		this.phone = phone;
		this.email = email;
		this.signature = signature;
		this.tag = tag;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String get_password() {
		return _password;
	}
	public void set_password(String _password) {
		this._password = _password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", uid=" + uid + ", name=" + name + ", _password=" + _password + ", phone=" + phone
				+ ", email=" + email + ", signature=" + signature + ", tag=" + tag + "]";
	}
	
}
